package com.sniff.atp.enums.api;

import com.sniff.atp.constant.config.SniffHost;
import lombok.Getter;

@Getter
public enum WmsAPI {
    WMS_API1("选择仓库", "POST", "/wms/warehouse/switchWarehouse"),
    WMS_API2("签收扫描", "GET", "/wms/sign/queryByExpressNo"),
    WMS_API3("签收确认", "POST", "/wms/sign/saveSignRecords"),
    WMS_API4("检品查询", "GET", "/wms/stockIn/queryPurchaseInfo"),
    WMS_API4_V1("检品查询-new", "GET", "/wms/stockIn/queryWithInboundCode"),
    WMS_API5("检品确认入库", "POST", "/wms/stockIn/doStockIn"),
    WMS_API5_v1("检品确认入库-new", "POST", "/wms/stockIn/doStockInWithInboundCode"),
    WMS_API6("移库批次查询", "GET", "/wms/transfer/queryPkg4Transfer"),
    WMS_API7("移库操作", "POST", "/wms/transfer/doTransfer"),
    WMS_API8("确认移库查询", "GET", "/wms/transfer/getTransfer"),
    WMS_API9("确认移库", "POST", "/wms/transfer/doConfirm"),
    WMS_API10("获取仓库库区", "GET", "/wms/region/RegionList"),
    WMS_API11("PDA上架查询批次", "GET", "/wms/pkg/pkgDetail"),
    WMS_API12("PDA上架提交", "POST", "/wms/pkg/shelve"),
    WMS_API13("国际发货单查询", "POST", "/wms/delivery/task/page"),
    WMS_API14("创建拣货任务", "POST", "/wms/delivery/pick/task/create"),
    WMS_API15("拣货任务查询", "GET", "/wms/delivery/pick/task/page"),
    WMS_API16("拣货任务详情查询", "GET", "/wms/delivery/pick/task/detail/list"),
    WMS_API17("拣货扫描包裹", "POST", "/wms/delivery/pick/task/detail/picked"),
    WMS_API18("拣货完成确认提交", "POST", "/wms/delivery/pick/task/pick/finish"),
    WMS_API19("分拣框位配置", "POST", "/wms/basket/edit"),
    WMS_API20("获取用户仓库配置权限", "GET", "/manage/users/me"),
    WMS_API21("拣货配货扫包裹", "GET", "/wms/delivery/pick/allot/info"),
    WMS_API22("完成配货", "POST", "/wms/delivery/pick/task/allot/finish"),
    WMS_API23("播种列表", "GET", "/wms/basket/list"),
    WMS_API24("打包扫描框号", "GET", "/wms/delivery/task/info/d2c/more"),
    WMS_API25("完成打包", "POST", "/wms/delivery/task/pack/finish"),
    WMS_API26("打包更新物流单号", "POST", "/wms/delivery/task/logistics/edit"),
    WMS_API27("确认发货", "POST", "/wms/delivery/task/confirm/delivery"),
    WMS_API28("组合任务待处理列表", "POST", "/wms/packTask/packTaskPage"),
    WMS_API29("组合任务待拣货列表", "POST", "/wms/packTask/packAbleTaskPage"),
    WMS_API30("创建组合拣货任务", "POST", "/wms/packTask/createPackBatch"),
    WMS_API31("组合拣货任务列表", "POST", "/wms/packTask/pickTaskPage"),
    PC_PICK_TASK_PAGE("组合任务列表", "POST", "/wms/packTask/pcPickTaskPage"),
    WMS_API32("组合拣货任务详情", "GET", "/wms/packTask/pickTaskDetail"),
    WMS_API33("组合拣货扫描条码", "GET", "/wms/packTask/doPick"),
    WMS_CHECK_PICK("组合校验拣货批次", "GET", "/wms/packTask/checkPick"),
    SOW_QUERY("组合拣货配货扫描条码", "POST", "/wms/packTask/sorting"),
    WMS_API34("完成组合任务", "GET", "/wms/packTask/doPackFinish"),
    WMS_GET_PACK_BASKET("获取组合分拣框", "GET", "/wms/packTask/getPackBasket"),
    WMS_GET_PACK_BASKET_INFO("获取组合分拣框信息", "GET", "/wms/packTask/getBasketInfo"),
    WMS_DO_PACK_BASKET_FINISH("获取组合分拣框信息", "POST", "/wms/packTask/doBasketPackFinish"),
    WMS_API35("国际发货审单列表查询", "POST", "/wms/deliveryReview/page"),
    WMS_API36("国际发货审单详情", "POST", "/wms/deliveryReview/reviewInfo"),
    WMS_API37("国际发货审单确认", "POST", "/wms/deliveryReview/singleReview"),
    WMS_API38("生成拣货任务检查", "POST", "/wms/delivery/pick/pagePickingTaskNotListed"),
    WMS_API39("生成拣货任务", "POST", "/wms/delivery/pick/task/create"),
    WMS_API40("查询物流详情", "GET", "/wms/delivery/task/logistics/detail/list"),
    WMS_API41("打包编辑物流单号", "POST", "/wms/delivery/task/logistics/edit"),
    WMS_API42("打包新增箱子", "POST", "/wms/delivery/box/edit"),
    WMS_API43("打包新增商品", "POST", "/wms/delivery/box/product/edit"),
    WMS_API44("完成打包", "POST", "/wms/delivery/task/pack/finish"),
    WMS_API45("确认发货", "POST", "/wms/delivery/task/confirm/delivery"),
    WMS_API46("确认签收", "POST", "/wms/delivery/task/sign"),
    WMS_API47("大包查看箱码", "POST", "/wms/delivery/task/info/b2b"),
    WMS_API48("小件单品打包信息查看", "POST", "/wms/delivery/task/info/d2c/single"),
    WMS_API49("拣货配货", "POST", "/wms/delivery/pick/getD2cAllotProgress"),
    WMS_API50("完成配货", "POST", "/wms/delivery/pick/task/allot/finish"),
    WMS_API51("库存详情查询", "POST", "/wms/pkg/pkgPage"),
    WMS_API52("查询审单列表信息", "POST", "/wms/deliveryReview/page"),
    WMS_API53("查询审单信息", "POST", "/wms/deliveryReview/reviewInfo"),
    WMS_API54("审单", "POST", "/wms/deliveryReview/singleReview"),
    WMS_API55("修改货代公司", "POST", "/wms/delivery/task/modifyForwarder"),
    WMS_API56("修改d2c国际发货单重量", "POST", "/wms/delivery/task/logistics/d2c/weight/edit"),

    WMS_API57("完成打标", "POST", "/wms/delivery/task/mark/finish"),
    WMS_API58("下载装箱清单", "POST", "/wms/delivery/task/downloadCustomerPackingListFile"),
    WMS_API59("下载箱唛", "POST", "/wms/delivery/task/downloadCustomerBoxMarkFile"),
    WMS_AP160("后台国际发货单详情", "GET", "/wms/delivery/task/info"),
    WMS_API61("国际发货单担当确认", "POST", "/wms/delivery/task/managerConfirm"),
    WMS_API62("打包新增商品pkgCode", "POST", "/wms/delivery/box/product/editWithPkg"),
    WMS_API63("创建波次", "POST", "/wms/delivery/wave/create"),
    WMS_API64("运行波次", "POST", "/wms/delivery/wave/run"),
    WMS_API65("拣货绑定容器", "POST", "/wms/delivery/pick/batch/pickContainer/scanBind"),
    WMS_API66("获取容器", "POST", "/wms/container/page"),
    WMS_API67("开始拣货", "POST", "/wms/delivery/pick/batch/pickBatchTask/start"),
    WMS_API68("获取拣货批次包列表", "GET", "/wms/delivery/pick/task/d2c/list?batchCode="),
    WMS_API69("拣货完成确认提交新", "POST", "/wms/delivery/pick/task/new/pick/finish"),
    WMS_API70("分拣绑定待分拣状态拣货容器", "POST", "/wms/delivery/pick/batch/allot/pickContainer/bind"),
    WMS_API71("分拣绑定未使用状态分拣容器", "POST", "/wms/delivery/pick/batch/allot/allotContainer/bind"),
    WMS_API72("开始分拣", "POST", "/wms/delivery/pick/batch/allot/allotTask/start"),
    WMS_API73("pkgCode分拣", "POST", "/wms/delivery/pick/singleProductAllot"),
    WMS_API74("api获取物流单号", "POST", "/wms/delivery/task/getLogisticsNo"),
    BATCH_DELIVERY_TASK_DEDUCTION("国际发货单抵扣", "POST", "/wms/back/batchDeliveryTaskDeduction"),

    DELETE_SHOP_SKU("删除客户的库存","POST","/wms/back/clearStock"),
    ;
    private final String api;
    private final String desc;
    private final String method;

    WmsAPI(String desc,String method, String api) {
        this.api = SniffHost.HOST + api;
        this.desc = desc;
        this.method = method;
    }
}
